package com.mlk.engSystem.api;

import com.mlk.core.util.ServerResponse;
import com.mlk.engSystem.service.EngWasteTreePriceService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/api/wastePrice")
public class EngWastePriceAPI {

    @Resource
    private EngWasteTreePriceService engWasteTreePriceService;

    @GetMapping("wastePrice")
    public ServerResponse wastePrice(){
        return  this.engWasteTreePriceService.wastePrice();
    }


}
